﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TMV.DTO.SocketConfig;
using TMV.DTO;

namespace TMV.Application.SocketConfig.Service
{
    public interface ISocketConfigService
    {
        ResultEntity<SocketConfigDto> GetSocketConfig(string ip, string code);
        ResultEntity<List<SocketConfigDto>> GetSocketConfig();
        bool UpdateStatus(string ip, bool status);
        ResultEntity<bool> AddSocketConfig(SocketConfigModel socketConfigModel);
        ResultEntity<bool> UpSocketConfig(SocketConfigModel socketConfigModel);
        ResultEntity<bool> DelSocketConfig(string id);


    }
}
